package com.cnap.model.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <类文件描述>
 *
 * @author xc
 **/
@ApiModel
public class BaseCondition {
    /**
     * 每页数量
     */
    @ApiModelProperty(value = "每页数量", required = true)
    public int pageSize = 10;
    /**
     * 当前页
     */
    @ApiModelProperty(value = "当前页", required = true)
    public int pageNum = 1;

    /**
     * 每页数量
     *
     * @return 数量
     */
    public int getPageSize() {
        return pageSize;
    }

    /**
     * 设置
     *
     * @param pageSize 数量
     */
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * 页码
     *
     * @return 页码
     */
    public int getPageNum() {
        return pageNum;
    }

    /**
     * 设置
     *
     * @param pageNum 页码
     */
    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }
}
